import request from '@/api/Http'
// 获取用户详情
export function getTheUserDetails(id) {
    return request({ 
        url: '/user/detail?uid=' + id,
         method:"get"
     })
 }
// 获取用户歌单
export function getTheUserPlaylist(id) {
    return request({ 
        url: '/user/playlist?uid=' + id,
         method:"get"
     })
 }

//用户新建歌单

export function usersNewSongList(test,type,) {
    return request({ 
        url: '/playlist/create?name='+test+'&type='+type,
         method:"get"
     })
 }

